<h4>Daftar Negara</h4>

<form class="form-inline" method="get" action="negara.php">
	Go to page
	<select name="p" class="input-mini">

		{foreach from=$paging item=p}
		<option value="{$p}">{$p}</option>
		{/foreach}
	</select>
	<button type="submit" class="btn">Go</button>
</form>

<table class="table">
	<tr>
		<th>Id Negara</th>
		<th>Kodenegara</th>
		<th>Nama Negara</th>
		<th></th>	
	</tr>	
	{foreach from=$negara item=s}
	<tr>
		<td>{$s.id_nationality}</td>
		<td>{$s.code}</td>
		<td>{$s.nationality}</td>
		<td>
			<a href="#" class="btn btn-small btn-success">Edit</a>	
			<a href="#" class="btn btn-small btn-warning">Delete</a>	
		</td>
	</tr>	
	{/foreach}
</table>	